package com.hwtx.soa.registry;

import java.util.concurrent.ExecutorService;
import java.util.regex.Pattern;

/**
 * Constants
 */
public class Constants {


    public static final String PATH_SEPARATOR = "/";
    public static final String PROVIDERS_CATEGORY = "providers";
    public static final String CONSUMERS_CATEGORY = "consumers";
    public static final String CATEGORY = "dubbo";
    public static final String ROOT = PATH_SEPARATOR + CATEGORY;
    public static final String DUBBO_VERSION_KEY = "dubbo";
    public static final String TIMESTAMP_KEY = "timestamp";
    public static final String PID_KEY = "pid";
    public static final String APPLICATION_KEY = "application";
    public static final String BIND_IP_KEY = "bind.ip";
    public static final String BIND_PORT_KEY = "bind.port";
    public static final String GENERIC_KEY = "generic";
    public static final String INTERFACE_KEY = "interface";
    public static final String REVISION_KEY = "revision";
    public static final String CATEGORY_KEY = "category";
    public static final String CHECK_KEY = "check";
    public static final String SIDE_KEY = "side";
    public static final String PROVIDER_SIDE = "provider";
    public static final String METHODS_KEY = "methods";
    public static final String CONSUMER = "consumer";
    public static final String GROUP_KEY = "group";
    public static final String VERSION_KEY = "version";



    public static final String PROVIDER = "provider";



    public static final String REGISTER = "register";

    public static final String UNREGISTER = "unregister";

    public static final String SUBSCRIBE = "subscribe";

    public static final String UNSUBSCRIBE = "unsubscribe";

    public static final String DEFAULT_CATEGORY = PROVIDERS_CATEGORY;

    public static final String ENABLED_KEY = "enabled";

    public static final String DISABLED_KEY = "disabled";

    public static final String REGISTRY_PROTOCOL = "registry";

    public static final String $INVOKE = "$invoke";

    public static final String DEFAULT_DIRECTORY = "dubbo";

    public static final String CLUSTER_KEY = "cluster";

    public static final String REGISTRY_KEY = "registry";



    public static final String CONSUMER_SIDE = "consumer";

    public static final String BACKUP_KEY = "backup";



}
